LenB Function
Returns the number of bytes in the specified String.
Syntax
result = LenB( string )
result = stringVariable.LenB
Parameters | ||
string |
Any valid string expression. |
Notes
LenB treats string as a series of bytes, rather than a series of characters. It should be used when string represents binary data. If you need to know the number of characters in string rather than the number of bytes, use the Len function.
Examples
This example uses the LenB function to return the number of bytes in a string
.
See Also